package com.itc.bpm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itc.bpm.bean.BpmModel;
import com.itc.common.core.domain.R;

/**
 * 流程模型定义service
 */
public interface BpmModelService extends IService<BpmModel> {
    /**
     * 新增/修改模型
     * @param bpmModel
     * @return
     */
    R addModel(BpmModel bpmModel);

    /**
     * 部署模型
     * @param id
     * @return
     */
    R deployModel(Long id);

}
